<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class Test extends CI_Controller
{
    public function index()
    {
        header("HTTP/1.1 200");
        $response['data'] = $this->security->get_csrf_token_name();
        $response['data1'] = $this->security->get_csrf_hash();
        $json_response = json_encode($response);
        echo $json_response;
    }
}